package com.i72.penetrate.init;

import com.i72.penetrate.rpc.DubboTarget;
import com.i72.penetrate.touch.DubboTouchPlane;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;

@Conditional(PenetrateConfigurationDubboMarket.class)
public class PenetrateConfigurationDubboInit {

    @Bean
    public DubboTarget dubboTarget(){
        return new DubboTarget();
    }

    @Bean
    public DubboTouchPlane dubboTouchPlane(){
        return new DubboTouchPlane();
    }
}
